package dk.mirasola.systemtraining.bridgewidgets.client.ui.distributionfiltereditor;

import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import dk.mirasola.systemtraining.bridgewidgets.client.ui.editor.HcpIntervalEditor;
import dk.mirasola.systemtraining.bridgewidgets.client.ui.editor.SeatEditor;
import dk.mirasola.systemtraining.bridgewidgets.client.ui.editor.SuitsEditor;
import dk.mirasola.systemtraining.bridgewidgets.shared.model.distributionfiltertree.HcpSuitDistributionFilter;

public class HcpSuitDistributionFilterEditor extends Composite implements Editor<HcpSuitDistributionFilter> {
    interface HcpSuitDistributionFilterEditorUiBinder extends UiBinder<Widget, HcpSuitDistributionFilterEditor> {
    }

    private static HcpSuitDistributionFilterEditorUiBinder uiBinder = GWT.create(HcpSuitDistributionFilterEditorUiBinder.class);

    @UiField
    SeatEditor seatEditor;
    @UiField
    SuitsEditor suitsEditor;
    @UiField
    HcpIntervalEditor hcpIntervalEditor;
    @UiField
    CheckBox invertedEditor;


    public HcpSuitDistributionFilterEditor() {
        initWidget(uiBinder.createAndBindUi(this));
    }
}
